<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta http-equiv="x-ua-compatible" content="ie=edge" />
	<meta name="google-site-verification" content="qQlzC6go9gvAGURqWjjNA3TtJPkAvzoiP2vGtlfNb2A" />
	<meta name="msvalidate.01" content="89359D9C492A475C0061398008D105FB" /> {% include custom/_global_variable.html %}

	<!-- seo !-->
	<meta name="description" content="Bulk Operations - {{ page.title }}" />
	<meta name="keywords" content="sqlbulkcopy, bulk insert, bulk update, bulk delete, bulk merge" />
	<title>Entity Framework Plus - {{ page.title }}</title>

	<!-- icon !-->
	<link rel="icon" type="image/png" href="/images/logo.png">

	<!-- icon/css !-->
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
	    crossorigin="anonymous">
	<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"
	/>
	<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css" />
	<link rel="stylesheet" href="css/master.css">
</head>

<body>
	{% include custom/site-header.html %} {% if site.data.meta[meta_index].template == "container-none" %}
	<div class="side-body container-none page-{{ site.data.meta[meta_index].permalink }} {{ site.data.meta[meta_index].css }}">
		{{ content }}
	</div>
	{% elsif site.data.meta[meta_index].template == "container-page" %}
	<div class="side-body container-page page-{{ site.data.meta[meta_index].permalink }} {{ site.data.meta[meta_index].css }}">
		{% include section-header.html %}
		<div class="container">
			{{ content }}
		</div>
	</div>
	{% elsif site.data.meta[meta_index].template == "container-doc" %}
	<div id="main-container-z">
		<div>
			<nav class="container-fluid navbar navbar-dark bg-dark navbar-expand-lg hidden-lg-up">
				<a class="nav-brand"></a>
				<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#nav-sidebar" aria-controls="nav-sidebar"
				 aria-expanded="false" aria-label="Toggle navigation">
					<span class="navbar-toggler-icon"></span>
				</button>

				<div class="navbar-collapse collapse justify-content-end" id="nav-sidebar">
					<br />
					<br /> {% include custom/section-sidebar.html %}
				</div>
			</nav>
		</div>
		<div class="side-body container-doc page-{{ site.data.meta[meta_index].permalink }} {{ site.data.meta[meta_index].css }}">
			<div class="container-fluid">
				<div class="row">
					<div class="col-lg-3 col-xl-2 section-nav hidden-md-down">
						{% include custom/section-sidebar.html %}
					</div>
					<div class="col-lg-7 col-xl-8 section-main">
						<h1>{{site.data.meta[meta_index].h1}}</h1>
						{{ content }}
					</div>
					<div class="col-lg-2 col-xl-2 section-aside hidden-md-down">
						<div class="section-aside-inner">
							{% include custom/section-aside.html %}
						</div>
					</div>
				</div>
			</div>
		</div>
		{% endif %} {% include custom/site-footer.html %} {% include component-scroll-to-top.html %}

	<div id="scroll-to-top"><i class="fa fa-angle-up" aria-hidden="true"></i></div>
	
    <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script>

	<script type="text/javascript">
	  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

	  ga('create', '{{site.ga}}', 'auto');
	  ga('send', 'pageview');
	</script>

	<script>
	new WOW().init();
	$(function() {
		$("table").addClass("table table-bordered table-hover table-responsive-sm table-striped");
		$("thead").addClass("thead-dark");

		$('aside a').each(function() {
			if ($(this).attr('href') == '/{{page.permalink}}' || $(this).attr('href') == '{{ site.github.url }}/{{page.permalink}}')
			{
				$(this).addClass('font-weight-bold');
			}
		});
	});
	</script>
	
<script>
$(window).scroll(function() {
    if ($(this).scrollTop() >= 600) {
        $('#scroll-to-top').fadeIn(200);
    } else {
        $('#scroll-to-top').fadeOut(200);
    }
});
$('#scroll-to-top').click(function() {
    $('body,html').animate({
        scrollTop : 0
    }, 500);
});
</script>
<script>
		$(document).ready(function () {
			var codeHeaders = $("h5.code");

			for (i = 0, len = codeHeaders.length; i < len; i++) {
				var codeHeader = $(codeHeaders[i]);

				var codeHighlight = codeHeader.next();

				s = '\
<div class="card card-code card-code-dark">\
<div class="card-header">\
	<h5>\
		' + codeHeader.html() + '\
	</h5>\
</div>\
<div class="card-body">\
	'+ codeHighlight.html() + '\
</div>\
</div>';

				codeHeader.replaceWith(s);
				codeHighlight.hide();
			}
		});
	</script>
	<script>
			$(document).ready(function () {
				var childrens = $(".section-faq > div").children();
				var h3sLength = $(".section-faq > div > h3").length;

				var beforeHtml = '';
				var h3s = [h3sLength];
				var divs = [h3sLength];
				var shows = [h3sLength];

				var h3sI = -1;
				for (i = 0, len = childrens.length; i < len; i++) {
					var child = childrens[i];

					if (child.tagName == "H3") {
						h3sI++;
						h3s[h3sI] = child.innerHTML;
						divs[h3sI] = '';
						shows[h3sI] = $(child).hasClass("show");
					}
					else if (h3sI == -1) {
						beforeHtml += child.outerHTML;
					}
					else {
						divs[h3sI] += child.outerHTML;
					}
				}


				var s = beforeHtml + '\
<div id="accordion" role="tablist">';

				for (i = 0, len = h3s.length, text = ""; i < len; i++) {
					var h3 = h3s[i];
					var div = divs[i];
					var show = shows[i];
					var showCss = show ? "show" : "";
					var expanded = show ? "true" : "false";
					s += '\
<div class="card">\
	<div class="card-header" role="tab" id="heading-'+ i + '">\
		<h3 class="mb-0">\
			<a class="collapsed" data-toggle="collapse" href="#collapse-'+ i + '" role="button" aria-expanded="' + expanded + '" aria-controls="collapseOne">\
			  <span>' + h3 + '</span>\
			</a>\
		</h3>\
    </div>\
	<div id="collapse-'+ i + '" class="collapse ' + showCss + '" role="tabpanel">\
		<div class="card-body">\
			' + div + '\
		</div>\
    </div>\
</div>';
				}

				s += '\
</div>';

				h3s = $(".section-faq > div").html(s);

			});
		</script>
	</body>
</html>

